#ifndef _EBN_RECEPTOR_H_
#define _EBN_RECEPTOR_H_

#include <vector>
#include "EbnLink.h"

class CEbnCondition;
class CEbnWorldState;
class CEbnReception;

using namespace std;

class CEbnReceptor
{
public:
    CEbnReceptor(CEbnWorldState * worldState);
    ~CEbnReceptor(void);

    CEbnReception * getReception(void);

    void addFromLink(CEbnLink * pLink);
    int getFromLinkCount(void);
    CEbnLink * getFromLink(int index);

    bool hasWorldState(CEbnWorldState * worldState);

protected:

    bool hasFromLink(CEbnLink *pLink);

private:
    vector<CEbnLink *> mFromLinkList;

    CEbnReception * mpReception;
};

#endif // _EBN_RECEPTOR_H_
